<include file="__PUBLIC__/header.html" />
<css file="__ROOT__/static/jquery/css/redmond/jquery-ui-1.10.0.custom.css"/>
<js file="__ROOT__/static/jquery/js/jquery-ui-1.10.0.custom.min.js"/>
<script>
    $(function() {
        $( "#tabs" ).tabs();
    });
</script>
        <js file="__PUBLIC__/js/config.js" />
        <css file="__PUBLIC__/css/config.css" />
    </head>
    <body>
        <form action="{|U('edit')}" method="post">
            <!--模板风格-->
            <input type="hidden" name="{$tpl_config.name}" value="{$tpl_config.value}"/>
            <div id="tabs">
                <ul>
                    <li><a href="#tabs-1">基本设置</a></li>
                </ul>
                <!-- 基本配置 -->
                <div id="tabs-1">
                    <table class="table2">
                        <list from="$base_config" name="$n">
                            <if value="$n['name']!='webtoggle'&&$n['name']!='is_html'">
                            <tr>
                                <td width="75">{$n.title}</td>
                                <td>
                                    <input type="text" class="w200" name="{$n.name}" value="{$n.value}"/> <span class="desc">{$n.message}</span>
                                </td>
                            </tr>
                            </if>
                            </list>
                            <list from="$base_config" name="$n">  
                            
                                <if value="$n['name']=='webtoggle'">
                                    <tr>
                                        <td>网站开关</td>
                                        <td>开 <input style="vertical-align:middle;" type="radio" name="webtoggle" value="1"  <if value="$n['value']==1">checked="checked"</if>/>&nbsp|&nbsp <input style="vertical-align:middle;" type="radio" name="webtoggle" value="0" <if value="$n['value']==0">checked="checked"</if>/> 关</td>
                                    </tr>
                                </if>
                                <if value="$n['name']=='is_html'">
                                    <tr>
                                        <td>静态访问</td>
                                        <td>开 <input style="vertical-align:middle;" type="radio" name="is_html" value="1"  <if value="$n['value']==1">checked="checked"</if>/>&nbsp|&nbsp <input style="vertical-align:middle;" type="radio" name="is_html" value="0" <if value="$n['value']==0">checked="checked"</if>/> 关</td>
                                    </tr>
                                </if>
                            </list>  
                    </table>
                </div>
                <!---模板风格-->
                <div class="tpl_style">
                    <h3>模板风格</h3>
                    <ul>
                        <list from="$tpl_styles" name="t">

                            <li tplstyle="{$t.style}" <if value="$t.style==$tpl_config.value"> class='select'</if>>
                                <a href="javascript:void(0);">
                                 <img src="{$t.short|default:$defaultjpg}"/>
                                </a>
                                  <p>
                                      <a href="javascript:void(0);">{$t.name|default:"未命名"}</a>
                                  </p>
                                  <span>{$t.author|default:"EasyCMS"}</span>
                                  <span>{$t.email|default:"EasyCMS@gmail.com"}</span>
                            </li>
                        </list>
                    </ul>
                </div><!-- tpl_style -->
                <div>
                    <input type="submit" class="bt1" value="修改配置项"/>
                </div>
            </div>

        </form>
    </body>
</html>
